package com.examsystem.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import java.io.Serializable;

/**
 * @author fire'ge
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("picture_question")
public class PictureQuestion implements Serializable {
    private static final long serialVersionUID = -1;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @TableId(value = "picture_id",type = IdType.AUTO)
    private int pictureId;
    private String pictureRouteA;
    private int pictureQuestion;
    private String pictureRouteP;
}
